<el-dialog title="数据字典明细表" :visible.sync="detailVisible_d" :close-on-click-modal="false">
<el-form :model="saveForm_d" label-width="80px" :rules="saveFormRules_d" ref="saveForm_d">
  <!-- prop="name" 需要验证就加上这个属性，不需要验证就不加 -->
  <!-- <el-form-item label="编号" prop="index">
     <el-input v-model="saveForm.id" auto-complete="off"></el-input>
   </el-form-item>-->

  <el-table :data="Details"
            :visible.sync="detailVisible_d"
            highlight-current-row v-loading="listLoading_d" @selection-change="selsChange_d" style="width: 100%;">
    <el-table-column type="selection" width="55">
    </el-table-column>
    <el-table-column type="index" align="center" label="序号" width="60">
    </el-table-column>
    <el-table-column prop="name" align="center" label="产品" width="150" >
    </el-table-column>
    <el-table-column prop="ty.name" align="center" label="类型" width="150"  >
    </el-table-column>



    <el-table-column label="操作" align="center" >
      <template scope="scope">
        <el-button size="small" @click="handleSave_d(scope.$index, scope.row)">编辑</el-button>
        <el-button type="danger" size="small" @click="handleDel_d(scope.$index, scope.row)">删除</el-button>
      </template>
    </el-table-column>
  </el-table>

  <!--
      @click.native="saveSubmit" - 点击提交的时候调用saveSubmit方法
      :loading="saveLoading" - 提交的加载加载框
    -->
</el-form>
<div slot="footer" class="dialog-footer">
  <el-button @click.native="saveFormVisible_d = false">取消</el-button>
  <el-button type="primary" @click.native="saveSubmit_d" :loading="saveLoading_d">提交</el-button>
</div>
</el-dialog>